ComponentOne Xamarin.Android
ToCollectionView<T>(IEnumerable) Method


C1.CollectionView Assembly > C1.CollectionView Namespace > ICollectionViewEx Class > ToCollectionView Method : ToCollectionView<T>(IEnumerable) Method
The type of the collection view.
The source of the collection view.
Converts an System.Collections.IEnumerable to a collection view.
Syntax
'Declaration
 
<ExtensionAttribute()>
Public Overloads Shared Function ToCollectionView(Of T As Class)( _
   ByVal source As IEnumerable _
) As ICollectionView(Of T)
'Usage
 
Dim source As IEnumerable
Dim value As ICollectionView(Of T)
 
value = ICollectionViewEx.ToCollectionView(Of T)(source)
[Extension()]
public static ICollectionView<T> ToCollectionView<T>( 
   IEnumerable source
)
where T: class

Parameters

source
The source of the collection view.

Type Parameters

T
The type of the collection view.
See Also

Reference

ICollectionViewEx Class
ICollectionViewEx Members
Overload List